package com.ls.pojo;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * 部门表(Department)实体类
 *
 * @author makejava
 * @since 2021-03-31 16:55:56
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "com.ls.pojo.Department",description = "部门表")
public class Department implements Serializable {

    private static final long serialVersionUID = 533737347836307144L;

    /**
     * 部门id
     */
    private Integer dep_id;

    /**
     * 部门名称
     */
    private String name;

    /**
     * 办公地点
     */
    private String address;

    /**
     * 1代表有效,0代表无效
     */
    private Integer status;

    private List<Position> positions;
}
